Skip to content

PGO: Add a run-make test that makes sure that PGO profiling data is used by the compiler during optimizations.#60262

Merged
bors merged 6 commits intorust-lang:masterfrom
michaelwoerister:pgo-preinlining-pass
Apr 30, 2019
Merged

PGO: Add a run-make test that makes sure that PGO profiling data is used by the compiler during optimizations.#60262
bors merged 6 commits intorust-lang:masterfrom
michaelwoerister:pgo-preinlining-pass

Conversation

@michaelwoerister
Copy link
Member

From the tests comment section:

# This test makes sure that PGO profiling data leads to cold functions being
# marked as `cold` and hot functions with `inlinehint`.
# The test program contains an `if` were actual execution only ever takes the
# `else` branch. Accordingly, we expect the function that is never called to
# be marked as cold.

r? @alexcrichton

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants